<div id="loopedCarousel">	
	<div class="container">
		<div class="slides">
			<?php foreach($this->rowset as $image):?>
			<div>
				<a href="<?php print $this->url(array('module' => 'gallery', 'controller' => 'album', 'action' => 'display', 'id' => $image['album_id']),'default', true)?>" >
				<img src="/upload/gallery/medium_crop/<?php print $image['image']?>" alt="<?php print $image['name']?>" /></a></div>
			<?php endforeach;?>
		</div>

	</div>
	<a href="#" class="previous">previous</a>
	<a href="#" class="next">next</a>	
</div>